







<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <title>用户登录-大互法(66Law.cn)</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <link rel="stylesheet" href="//css.66law.cn/public/communal/base_v.2.0.css" />

    
    <link rel="stylesheet" href="//css.66law.cn/css/2018/base_v1.css">
     <link rel="stylesheet" href="//css.66law.cn/css/login_v_2_0/unit.css" />
    <link rel="stylesheet" href="//css.66law.cn/css/login_v_2_0/login.css" />
    <link rel="stylesheet" href="//css.66law.cn/css/captcha/hl.captcha.css">
    <style>
        .fm-btn-disa, .fm-btn-disa:hover {
            background-color: #eaeaea;
            color: #999;
            cursor: default;
        }
    </style>
</head>

<body>
    <form name="form1" method="post" action="./" id="form1">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwULLTE3NTY4ODQzNjVkZCgdvNb5fdq6eM/EdirH6IoHsYg4IzIOLK4meULNdkLk" />
</div>

<div>

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="CA0B0334" />
</div>
    <!-- header -->
       <div class="g-hd">
        <div class="w1000 ma">
            <div class="logobar">
                <a href="//www.66law.cn/" class="fl mr30"><img src="//css.66law.cn/images/2020/logo.jpg" /></a>
                <h1 class="fl">欢迎登录</h1>
                <span class="fr hd-nav">
                    <a href="default.aspx" target="_blank">首页</a>
                    <a href="//www.66law.cn/findlawyers/" target="_blank">找律师</a>
                    <a href="//www.66law.cn/question/" target="_blank">问律师</a>
                    <a href="http://s.66law.cn/" target="_blank">查知识</a>
                </span>
            </div>
        </div>
    </div>
    <!--内容-->
    <div class="g-mn">
        
        <div class="mainbg" style="background-color: #fe9744;"">
            <div class="main-inner" >
                <div class="w1000 ma">
                    <a class="ad-link fl"  ></a>
                    <div class="fr login-box">
                        <div class="log-two-code tc">
                            <p class="f18 mb10">微信登录</p>
                            <img src="//css.66law.cn/images/login/two-code160.png" /><br/>
                            <a href="javascript:void(0);" class="btn-pc mt20"><i class="ico-login i-pc mr10"></i>切换到电脑登录</a>
                        </div>
                        <h3>
                            <span>账号登录</span>
                            <a href="/register.aspx" class="fr new-reg">立即注册<i class="ico-login i-red-jt ml5"></i></a>
                        </h3>
                        <p class="login-tip mt20"><i class="ico-login i-bulb"></i><span>为了账号安全，公共场所不建议勾选记住登录状态！</span></p>
                        <ul class="login-fm mt5">
                            <li class="mb15">
                                <span class="log-tit"><i class="ico-login i-man"></i></span>

                              <input type="text" placeholder="用户名"  id="u-name" name="username" />
                                
                            </li>
                            <li>
                                <span class="log-tit"><i class="ico-login i-lock"></i></span>
                        <input type="password" placeholder="密码" id="u-pwd" name="pwd"   />
                                

                            </li>
                            <li class="mt5 mb5">
                                <a href="/findpwd.aspx" class="fr">忘记密码?</a>

                                <span class="fl u-check s-c999"><i class="ico-login i-check i-check-ck"></i> 
                                     
                                    记住登录状态</span>
                               
                            </li>
                        </ul>
                        
                        <div id="captcha" data-bind="btn_getlogincode"></div>
                        <a href="#" class="btn-be" id="btn_getlogincode" style="display:none;" ></a>
                            <a href="javascript:void(0)" id="login-btn" class="btn-be">立即登录</a> 
                      
                        
                        <p class="mt20 s-c999">使用合作网站账号登录华律网：</p>
                        <p class="log-join mt5"><a href="//third-login.66law.cn/ThirdParty/QQLogin.ashx?type=login&state=bad4e5cc1e6d447497d95254f0657df0" target="_blank" >QQ</a><span>|</span><a href="//third-login.66law.cn/ThirdParty/SinaLogin.ashx?type=login&state=c9e358d2d6e744fbbda396adca5b55f8" target="_blank">新浪微博</a><span>|</span><a href="//third-login.66law.cn/ThirdParty/WxLogin.ashx?type=login&state=d224faeafc6c48cdadb961f4c9b2def3" id="login-weixin" target="_blank">微信登录</a></p>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <!--页底-->

       
            <div class="g-ft mt20">
                <div class="w990 ma">
                    <p class="ft-nav tc">
                        <a target="_blank" href="//www.66law.cn/about/">关于网站</a><span>|</span><a target="_blank" href="//www.66law.cn/city/">全国律师</a><span>|</span><a href="//www.66law.cn/question/" target="_blank">免费法律咨询</a><span>|</span><a href="//www.66law.cn/help/" target="_blank">使用帮助</a><span>|</span><a href="//www.66law.cn/about/sitemap.aspx" target="_blank">网站地图</a><span>|</span><a href="//www.66law.cn/help/contact.aspx" target="_blank">联系我们</a><span>|</span><a href="//www.66law.cn/help/detail/167.shtml" target="_blank">免责声明</a><span>|</span><a href="//www.66law.cn/yingxiao/pay/" target="_blank">付款方式</a><span>|</span><a onclick="SetHome(window.location)" href="javascript:void(0)">设为首页</a><span>|</span><a onclick="AddFavorite(window.location,document.title)" href="javascript:void(0)">加入收藏</a>
                    </p>
                    <p class="ft-copy tc mt10" id="copytime">
                        Copyright©2004-2020 大互法网  版权所有
                    </p>
                </div>
            </div>
        </form> 
    <script src="//cache.66law.cn/dist/main.js"></script>
            <!--BI系统打点-->
    <script type="text/javascript" src="//hm.hualv.com/hm.min.js?v=1"></script>

    <script src="//cache.66law.cn/MsgBox.js" type="text/javascript"></script>
            
    <script src="//cache.66law.cn/js/md5/md5.js"></script>
    <script src="//cache.66law.cn/js/captcha/captcha_v2.2.js"></script>
    <script>
        $(function () {
            var $btnLogin = $('#login-btn');
            var tip = $('.login-tip span');
            var setint = null;
            var t = 0;
            $('.i-check-ck').on('click', function () {
                $(this).toggleClass('i-check-ck');
            })
            $('.login-fm input').on('keyup', function (e) {
                var code = e.keyCode;
                if (code == 13) {
                    var $btnLogin = $('#login-btn');
                    if (!$btnLogin.hasClass('fm-btn-disa')) {
                        $btnLogin.trigger('click');
                    }
                }
            });

            function ShowMsg(msg) {
                tip.text(msg);
                t && clearTimeout(t);
                t = setTimeout(function () {
                    tip.text('为了账号安全，公共场所不建议勾选记住登录状态！');
                }, 5000);
            }
            function isIE() {
                if (!!window.ActiveXObject || "ActiveXObject" in window) {
                    return 'false';
                } else {
                    return 'true';
                }
            }
            var isuseyidunByIE = isIE();
            var sx = myCaptcha({
                lang: {
                    element: '#captcha',
                    mode: 'bind',//验证码模式：bind模式（绑定模式）不显示验证码，由bindbtn点击触发弹框显示；popup模式(弹出式)显示具体的验证码元素，bindbtn无效
                    useyidun: isuseyidunByIE,//是否使用网易易盾验证码  isuseyidunByIE
                    bindbtn: '#login-btn',
                    width: '270px',
                    height: '40px'
                },
                onCaptchaBefore: function () {//验证前操作
                    var name = $.trim($('input[name="username"]').val());
                    var pwd = $.trim($('input[name="pwd"]').val());
                    if (name.length > 0 && pwd.length > 0) {
                        sx && sx.refresh();
                        return true;
                    }
                    ShowMsg("请完善登录信息");
                    return false;
                },
                onCaptchaAfter: function (obj) {//验证后操作，返回code是否成功SUCCESS,onCaptchaAfter: function (code,key)//验证通过要执行的事件内容
                    var timestamp = new Date().getTime();
                    var username = $.trim($('input[name="username"]').val());
                    var password = $.trim($('input[name="pwd"]').val());
                    var randomnum = Math.ceil(Math.random() * 1000000);
                    var arr = [timestamp, randomnum];
                    //console.log(arr);
                    var targetarr = [username, password];
                    for (var index = 0; index < 2; index++) {
                        var i = Math.floor(Math.random() * arr.length);
                        targetarr.push(arr[i]);
                        arr.splice(i, 1);
                    }
                    var Pass = targetarr.join('');
                    var data = {
                        username: $.trim($('input[name="username"]').val()),
                        pwd: md5(Pass),
                        randomnum: randomnum,
                        timestamp: timestamp,
                        SmsCode: obj.code,
                        type: obj.mode,
                        rurl : ''
                    };
                    if (obj.verifyimgkey) {
                        data.verifyimgkey = obj.verifyimgkey;
                    }
                    $.post('/default.aspx', data, function (res) {
                        sx && sx.refresh();
                        if (res && res['errcode'] == 0) {
                            $btnLogin.text('正在登录');
                            location.href = res.url || 'https://www.66law.cn';
                        } else {
                            ShowMsg(res && res.msg || '系统异常');
                        }
                        //if (res.state && res.data) {
                        //    sx && sx.refresh();
                        //    resProcess(res, $loginBtn1);
                        //} else {
                        //    $.toast(res.msg);
                        //    sx && sx.refresh();
                        //}
                    });
                }
            });
            
            $('.log-join a').click(function () {
                var $this = $(this).text();
                var cname = 'thir_log';
                var cval = '';
                if ($this == "QQ") {
                    cval = 4;
                } else if ($this == "新浪微博") {
                    cval = 3;
                } else if ($this == "微信登录") {
                    cval = 1;
                }
                setCookie(cname, cval);

            });
        });
        function setCookie(name, value) {
            var Days = 30;
            var exp = new Date();
            exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
            document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString();
        }
    </script>
</body> 
</html>
